package kr.co.kiso.usr.common.service;

import java.util.List;
import java.util.Map;

import kr.co.kiso.usr.common.dao.CommonDao;
import kr.co.kiso.usr.common.vo.CommonVo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommonService {
	@Autowired
	public CommonDao dao;

	public List CMNG010Q(CommonVo vo) throws Exception {
		return dao.CMNG010Q(vo);
	}
	
	public int CMNG010Q_CNT() throws Exception {
		return dao.CMNG010Q_CNT();
	}
	
	public List CMNG020Q(CommonVo vo) throws Exception {
		return dao.CMNG020Q(vo);
	}
	
	public int CMNG020Q_CNT(CommonVo vo) throws Exception {
		return dao.CMNG020Q_CNT(vo);
	}
	
	public void CMNG030T(CommonVo vo) throws Exception {
		dao.CMNG030T(vo);
	}
	
	public int CMNG040T(CommonVo vo) throws Exception {
		return 
				dao.CMNG040T(vo);
	}
	
	public int CMNG050T(CommonVo vo) throws Exception {
		return dao.CMNG050T(vo);
	}
	
	/**
	 * 공통코드 가져오기
	 * @param vo
	 * @return
	 * @throws Exception
	 */
	public List CMNG060Q(String code_p_seq_no) throws Exception {
		return dao.CMNG060Q(code_p_seq_no);
	}
	
	/**
	 * 우편번호 가져오기
	 * @param code_p_seq_no
	 * @return
	 * @throws Exception
	 */
	public List CMNG070Q(String dong) throws Exception {
		return dao.CMNG070Q(dong);
	}
}
